Integrand size = 14, antiderivative size = 76 \[ \int (d+e x) (a+b \arctan (c x)) \, dx=-\frac {b e x}{2 c}-\frac {b \left (d^2-\frac {e^2}{c^2}\right ) \arctan (c x)}{2 e}+\frac {(d+e x)^2 (a+b \arctan (c x))}{2 e}-\frac {b d \log \left (1+c^2 x^2\right )}{2 c} \]
[Out]
Time = 0.04 (sec) , antiderivative size = 76, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.357, Rules used = {4972, 716, 649, 209, 266} \[ \int (d+e x) (a+b \arctan (c x)) \, dx=\frac {(d+e x)^2 (a+b \arctan (c x))}{2 e}-\frac {b \arctan (c x) \left (d^2-\frac {e^2}{c^2}\right )}{2 e}-\frac {b d \log \left (c^2 x^2+1\right )}{2 c}-\frac {b e x}{2 c} \]
[In]
[Out]
Rule 209
Rule 266
Rule 649
Rule 716
Rule 4972
Rubi steps \begin{align*} \text {integral}& = \frac {(d+e x)^2 (a+b \arctan (c x))}{2 e}-\frac {(b c) \int \frac {(d+e x)^2}{1+c^2 x^2} \, dx}{2 e} \\ & = \frac {(d+e x)^2 (a+b \arctan (c x))}{2 e}-\frac {(b c) \int \left (\frac {e^2}{c^2}+\frac {c^2 d^2-e^2+2 c^2 d e x}{c^2 \left (1+c^2 x^2\right )}\right ) \, dx}{2 e} \\ & = -\frac {b e x}{2 c}+\frac {(d+e x)^2 (a+b \arctan (c x))}{2 e}-\frac {b \int \frac {c^2 d^2-e^2+2 c^2 d e x}{1+c^2 x^2} \, dx}{2 c e} \\ & = -\frac {b e x}{2 c}+\frac {(d+e x)^2 (a+b \arctan (c x))}{2 e}-(b c d) \int \frac {x}{1+c^2 x^2} \, dx-\frac {(b (c d-e) (c d+e)) \int \frac {1}{1+c^2 x^2} \, dx}{2 c e} \\ & = -\frac {b e x}{2 c}-\frac {b \left (d^2-\frac {e^2}{c^2}\right ) \arctan (c x)}{2 e}+\frac {(d+e x)^2 (a+b \arctan (c x))}{2 e}-\frac {b d \log \left (1+c^2 x^2\right )}{2 c} \\ \end{align*}
Time = 0.01 (sec) , antiderivative size = 77, normalized size of antiderivative = 1.01 \[ \int (d+e x) (a+b \arctan (c x)) \, dx=a d x-\frac {b e x}{2 c}+\frac {1}{2} a e x^2+\frac {b e \arctan (c x)}{2 c^2}+b d x \arctan (c x)+\frac {1}{2} b e x^2 \arctan (c x)-\frac {b d \log \left (1+c^2 x^2\right )}{2 c} \]
[In]
[Out]
Time = 0.42 (sec) , antiderivative size = 69, normalized size of antiderivative = 0.91
method | result | size |
parts | \(a \left (\frac {1}{2} e \,x^{2}+d x \right )+\frac {b \arctan \left (c x \right ) x^{2} e}{2}+b \arctan \left (c x \right ) x d -\frac {b d \ln \left (c^{2} x^{2}+1\right )}{2 c}-\frac {b e x}{2 c}+\frac {\arctan \left (c x \right ) b e}{2 c^{2}}\) | \(69\) |
parallelrisch | \(-\frac {-\arctan \left (c x \right ) b \,c^{2} e \,x^{2}-a \,c^{2} e \,x^{2}-2 b d x \arctan \left (c x \right ) c^{2}-2 a \,c^{2} d x +b c d \ln \left (c^{2} x^{2}+1\right )+b c e x -\arctan \left (c x \right ) b e}{2 c^{2}}\) | \(78\) |
derivativedivides | \(\frac {\frac {a \left (d \,c^{2} x +\frac {1}{2} c^{2} e \,x^{2}\right )}{c}+\frac {b \left (\arctan \left (c x \right ) d \,c^{2} x +\frac {\arctan \left (c x \right ) e \,c^{2} x^{2}}{2}-\frac {c e x}{2}-\frac {d c \ln \left (c^{2} x^{2}+1\right )}{2}+\frac {e \arctan \left (c x \right )}{2}\right )}{c}}{c}\) | \(82\) |
default | \(\frac {\frac {a \left (d \,c^{2} x +\frac {1}{2} c^{2} e \,x^{2}\right )}{c}+\frac {b \left (\arctan \left (c x \right ) d \,c^{2} x +\frac {\arctan \left (c x \right ) e \,c^{2} x^{2}}{2}-\frac {c e x}{2}-\frac {d c \ln \left (c^{2} x^{2}+1\right )}{2}+\frac {e \arctan \left (c x \right )}{2}\right )}{c}}{c}\) | \(82\) |
risch | \(-\frac {i b \left (e \,x^{2}+2 d x \right ) \ln \left (i c x +1\right )}{4}+\frac {i b e \,x^{2} \ln \left (-i c x +1\right )}{4}+\frac {i b d x \ln \left (-i c x +1\right )}{2}+\frac {a e \,x^{2}}{2}+a d x -\frac {b d \ln \left (c^{2} x^{2}+1\right )}{2 c}-\frac {b e x}{2 c}+\frac {\arctan \left (c x \right ) b e}{2 c^{2}}\) | \(101\) |
[In]
[Out]
none
Time = 0.25 (sec) , antiderivative size = 71, normalized size of antiderivative = 0.93 \[ \int (d+e x) (a+b \arctan (c x)) \, dx=\frac {a c^{2} e x^{2} - b c d \log \left (c^{2} x^{2} + 1\right ) + {\left (2 \, a c^{2} d - b c e\right )} x + {\left (b c^{2} e x^{2} + 2 \, b c^{2} d x + b e\right )} \arctan \left (c x\right )}{2 \, c^{2}} \]
[In]
[Out]
Time = 0.25 (sec) , antiderivative size = 87, normalized size of antiderivative = 1.14 \[ \int (d+e x) (a+b \arctan (c x)) \, dx=\begin {cases} a d x + \frac {a e x^{2}}{2} + b d x \operatorname {atan}{\left (c x \right )} + \frac {b e x^{2} \operatorname {atan}{\left (c x \right )}}{2} - \frac {b d \log {\left (x^{2} + \frac {1}{c^{2}} \right )}}{2 c} - \frac {b e x}{2 c} + \frac {b e \operatorname {atan}{\left (c x \right )}}{2 c^{2}} & \text {for}\: c \neq 0 \\a \left (d x + \frac {e x^{2}}{2}\right ) & \text {otherwise} \end {cases} \]
[In]
[Out]
none
Time = 0.27 (sec) , antiderivative size = 71, normalized size of antiderivative = 0.93 \[ \int (d+e x) (a+b \arctan (c x)) \, dx=\frac {1}{2} \, a e x^{2} + \frac {1}{2} \, {\left (x^{2} \arctan \left (c x\right ) - c {\left (\frac {x}{c^{2}} - \frac {\arctan \left (c x\right )}{c^{3}}\right )}\right )} b e + a d x + \frac {{\left (2 \, c x \arctan \left (c x\right ) - \log \left (c^{2} x^{2} + 1\right )\right )} b d}{2 \, c} \]
[In]
[Out]
\[ \int (d+e x) (a+b \arctan (c x)) \, dx=\int { {\left (e x + d\right )} {\left (b \arctan \left (c x\right ) + a\right )} \,d x } \]
[In]
[Out]
Time = 0.44 (sec) , antiderivative size = 67, normalized size of antiderivative = 0.88 \[ \int (d+e x) (a+b \arctan (c x)) \, dx=a\,d\,x+\frac {a\,e\,x^2}{2}+b\,d\,x\,\mathrm {atan}\left (c\,x\right )-\frac {b\,e\,x}{2\,c}+\frac {b\,e\,\mathrm {atan}\left (c\,x\right )}{2\,c^2}+\frac {b\,e\,x^2\,\mathrm {atan}\left (c\,x\right )}{2}-\frac {b\,d\,\ln \left (c^2\,x^2+1\right )}{2\,c} \]
[In]
[Out]